'use strict';

const Controller = require('egg').Controller;

class HomeController extends Controller {
  async index() {
    const { ctx } = this;
    var res = await ctx.service.article.find("619c9b3fa15ba40108c40a89");
    console.log(res)
    ctx.body = {
      code:200,
      msg:"hello world"
    }
  }
}

module.exports = HomeController;
